package com.biggerboy.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-user")
public interface UserService {
    @RequestMapping("/user/detail/{id}")
    String getUserDetail(@PathVariable Long id);
}
